Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Application-Defined Functions / Movie Callout Functions


MyCalloutProc

Your movie callout function should present the following interface:

pascal Boolean MyCallOutProc (long refcon);
refcon
Contains the reference constant that you specified when you called the PlayMoviePreview function.
DESCRIPTION
Your movie callout function returns a Boolean value. The Movie Toolbox examines this value before continuing. If your function sets this value to false, the Movie Toolbox stops the preview and returns to your application.

Note
If you call the GetMovieActiveSegment function (described on page 2-122) from within your movie callout function, the Movie Toolbox will have changed the active movie segment to be the preview segment of the movie. The Movie Toolbox restores the active segment when the preview is done playing.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996